package com.haohan.jingyuan.customer.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.haohan.jingyuan.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 客户收入实体（对应表：customer_income）
 * 
 * @ClassName CustomerIncome
 * @Description 客户收入实体类
 * @Author hexijun
 * @Time 2025/01/19 16:00
 * @Version 1.0
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("customer_income")
public class CustomerIncome extends BaseEntity {

    /**
     * 客户ID
     */
    private String customerId;

    /**
     * 收入类型
     */
    private String incomeType;

    /**
     * 总价金额
     */
    private BigDecimal totalAmount;

    /**
     * 已收金额
     */
    private BigDecimal receivedAmount;

    /**
     * 待收金额
     */
    private BigDecimal pendingAmount;

    /**
     * 收入日期
     */
    private Date incomeDate;

    /**
     * 备注
     */
    private String remarks;
}
